#include <fltk/events.h>

#include "gui.h"
#include "applet.h"

using namespace fltk;

Applet::Applet(int w, int h, const char* l) : Window(w,h,l),
    hints_applied(false)
{
    border(false);
}

Applet::~Applet()
{
}

int Applet::handle(int e)
{
//     printf("Applet::handle(%s)\n", event_name(e));
    return Window::handle(e);
}

void Applet::applet_wm_hints()
{
    gui_apply_wm_hint(this, SKIP_TASKBAR_HINT, HINT_ADD);
    gui_apply_wm_hint(this, STICKY_HINT, HINT_ADD);
}
